package com.tledu.schedulingInfo.mapper;

import com.tledu.schedulingInfo.domain.vo.SchedulingItemVO;
import com.tledu.schedulingInfo.domain.SchedulingItem;

import java.util.List;

/**
 * 排班明细Mapper接口
 * 
 * @author ruoyi
 * @date 2024-09-04
 */
public interface SchedulingItemMapper 
{
    /**
     * 查询排班明细
     * 
     * @param id 排班明细主键
     * @return 排班明细
     */
    public List<SchedulingItem> selectSchedulingItemById(Long scheduleId);

    /**
     * 查询排班明细列表
     * 
     * @param schedulingItem 排班明细
     * @return 排班明细集合
     */
    public List<SchedulingItem> selectSchedulingItemList(SchedulingItem schedulingItem);

    /**
     * 新增排班明细
     * 
     * @param schedulingItem 排班明细
     * @return 结果
     */
    public int insertSchedulingItem(SchedulingItem schedulingItem);

    /**
     * 修改排班明细
     * 
     * @param schedulingItem 排班明细
     * @return 结果
     */
    public int updateSchedulingItem(SchedulingItem schedulingItem);

    /**
     * 删除排班明细
     * 
     * @param id 排班明细主键
     * @return 结果
     */
    public int deleteSchedulingItemById(Long id);

    /**
     * 批量删除排班明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSchedulingItemByIds(Long[] ids);

    List<SchedulingItemVO> getSchedulingItemVO(Long id);
}
